/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jiadakeji.ppm.modules.weixin.dao;

import com.jiadakeji.ppm.common.persistence.CrudDao;
import com.jiadakeji.ppm.common.persistence.annotation.MyBatisDao;
import com.jiadakeji.ppm.modules.weixin.entity.WxpayOrder;

/**
 * 微信订单DAO接口
 * @author 韩浩宇
 * @version 2017-12-28
 */
@MyBatisDao
public interface WxpayOrderDao extends CrudDao<WxpayOrder> {

    int updateWxpayOrderOptimisticLock(WxpayOrder wxpayOrder);

    WxpayOrder getByCode(String code);
    Double getSumMoney(WxpayOrder wxpayOrder);
}